﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.CMS.SiteConverter.Models;

namespace Kooboo.CMS.SiteConverter.Parser.WebForm
{
    public class FileUrlParser : ParserBase, IParser<FileUrl>
    {
        #region IParser<FileUrl> Members

        public void Parse(FileUrl obj)
        {
            var format = "<%:Url.FrontUrl().FileUrl(\"{0}\")%>";
            Razor.FileUrlParser.FillResult(this.Context, obj, format);
        }

        #endregion
    }
}
